package com.corx.network.mysqlstorage.hub;

import com.corx.network.mysqlstorage.repository.*;

/**
 * @author gx
 * @version 1.0.0
 */
public class DeviceRepositoryHub {

    private final DeviceModelBindRepository deviceModelBindRepository;
    private final DeviceModelRepository deviceModelRepository;
    private final DeviceDataRawRepository deviceDataRawRepository;
    private final DeviceModelFieldRepository deviceModelFieldRepository;
    private final DeviceDataStructuredRepository deviceDataStructuredRepository;
    private final DeviceRepository deviceRepository;
    private final DevicePointRepository devicePointRepository;
    private final NetworkRepository networkRepository;


    public DeviceRepositoryHub(DeviceModelBindRepository deviceModelBindRepository,
                               DeviceModelRepository deviceModelRepository,
                               DeviceDataRawRepository deviceDataRawRepository,
                               DeviceModelFieldRepository deviceModelFieldRepository,
                               DeviceDataStructuredRepository deviceDataStructuredRepository,
                               DeviceRepository deviceRepository,
                               DevicePointRepository devicePointRepository,
                               NetworkRepository networkRepository


                               ) {
        this.deviceModelBindRepository = deviceModelBindRepository;
        this.deviceModelRepository = deviceModelRepository;
        this.deviceDataRawRepository = deviceDataRawRepository;
        this.deviceModelFieldRepository = deviceModelFieldRepository;
        this.deviceDataStructuredRepository = deviceDataStructuredRepository;
        this.deviceRepository = deviceRepository;
        this.devicePointRepository = devicePointRepository;
        this.networkRepository = networkRepository;


    }

    public DeviceModelBindRepository modelBindRepo() {
        return deviceModelBindRepository;
    }

    public DeviceModelRepository modelRepo() {
        return deviceModelRepository;
    }

    public DeviceDataRawRepository rawRepo() {
        return deviceDataRawRepository;
    }

    public DeviceModelFieldRepository fieldRepo() {
        return deviceModelFieldRepository;
    }

    public DeviceDataStructuredRepository structuredRepo() {
        return deviceDataStructuredRepository;
    }


    public DeviceRepository deviceRepo() {
        return deviceRepository;
    }

    public DevicePointRepository devicePointRepo() {
        return devicePointRepository;
    }

    public NetworkRepository networkRepo() {
        return networkRepository;
    }




}
